package studentmanager;

public class Mark {
	private String subject;
	private double wMark;
	private double pMark;

	Mark() {

	}

	Mark(String sub, double wM, double pM) {
		this.subject = sub;
		this.wMark = wM;
		this.pMark = pM;
	}

	public double getwMark() {
		return wMark;
	}

	public double getpMark() {
		return pMark;
	}

	public void showMark() {
		System.out.println(" " + subject + " " + pMark + " " + wMark);
	}
}
